package com.yuanheng100.asset.model.common.property;

import com.yuanheng100.asset.consts.property.Mortgage;

import java.util.Date;

/**
 * 财产最高父类
 */
public abstract class AbstractProperty
{
    /**
     *按揭类型。参见：com.yuanheng100.asset.consts.property.Mortgage
     */
    private Mortgage mortgageType;
    /**
     *购买单价
     */
    private Integer unitPrice;
    /**
     * 购买日期
     */
    private Date purchaseDate;
    /**
     *产权比例
     */
    private Short propertyRate;
    /**
     *贷款年限
     */
    private Short loanTerm;
    /**
     *月供
     */
    private Integer monthlyPayment;
    /**
     *贷款余额
     */
    private Integer loanBalance;

    public Mortgage getMortgageType()
    {
        return mortgageType;
    }

    public void setMortgageType(Mortgage mortgageType)
    {
        this.mortgageType = mortgageType;
    }

    public Integer getUnitPrice()
    {
        return unitPrice;
    }

    public void setUnitPrice(Integer unitPrice)
    {
        this.unitPrice = unitPrice;
    }

    public Date getPurchaseDate()
    {
        return purchaseDate;
    }

    public void setPurchaseDate(Date purchaseDate)
    {
        this.purchaseDate = purchaseDate;
    }

    public Short getPropertyRate()
    {
        return propertyRate;
    }

    public void setPropertyRate(Short propertyRate)
    {
        this.propertyRate = propertyRate;
    }

    public Short getLoanTerm()
    {
        return loanTerm;
    }

    public void setLoanTerm(Short loanTerm)
    {
        this.loanTerm = loanTerm;
    }

    public Integer getMonthlyPayment()
    {
        return monthlyPayment;
    }

    public void setMonthlyPayment(Integer monthlyPayment)
    {
        this.monthlyPayment = monthlyPayment;
    }

    public Integer getLoanBalance()
    {
        return loanBalance;
    }

    public void setLoanBalance(Integer loanBalance)
    {
        this.loanBalance = loanBalance;
    }
}
